<!-- templates/capsules/home.html -->
<!DOCTYPE html>
<html>
<head>
    <title>Time Capsule 首页</title>
</head>
<body>
    <h1>欢迎来到 Time Capsule!</h1>
    <p>访问次数：{{ visit_count }}</p>
    <ul>
        {% for capsule in capsules %}
            <li>{{ capsule.title }}</li>
        {% empty %}
            <li>暂无时光胶囊</li>
        {% endfor %}
    </ul>
</body>
</html>